package com.brillilab.message.vo;

import lombok.Data;

import java.util.List;

@Data
public class SocketMessageVo implements MessageVo{

    private boolean isAio;
    private String title;
    private Long receiverId;
    private List<String> deviceNos;
    private String body;

    public SocketMessageVo(String title,String body,Long receiverId) {
        this.title = title;
        this.body = body;
        this.receiverId = receiverId;
        this.isAio = false;
    }

    public SocketMessageVo(String title,String body,List<String> deviceNos){
        this.title = title;
        this.body = body;
        this.deviceNos = deviceNos;
        this.isAio = true;
    }
}
